var getSystemInfo = function(call){
  var info;
  if (info = wx.getStorageSync("SystemInfo")){
    call(info);
  } else{
    wx.getSystemInfo({
      success: function (res) {
        call(res);
        wx.setStorageSync("SystemInfo", res);
      },
    })
  }
}
module.exports.getSystemInfo = getSystemInfo;
